#ifndef __MYDEVICE_H
#define __MYDEVICE_H

#include "Type_def.h"
#include <string.h>
#define adc_num 40
extern  int16_t tmp_adcData [adc_num];

typedef struct {
	int16_t value1;
	int16_t value2;
	int16_t value3;
	int16_t value4;
}adcValue_type;

extern u8 led_state;
extern  adcValue_type adcValue ;
void adc_init(void);

void outputGroupControl(u8* outputNumber);
void outputControl(u8 outputNumber, u8 outputState);
void outputsControl(const u8 *data);
void excecute_led(u8 flag_led);
void task_led(void);

#endif
